package p270jp.pxv.android.legacy.constant;

import android.os.Parcel;
import android.os.Parcelable;
import p325m0.MutabilityOwnership;

/* compiled from: PixivisionCategory.kt */
/* renamed from: jp.pxv.android.legacy.constant.PixivisionCategory */
/* loaded from: classes2.dex */
public enum PixivisionCategory implements Parcelable {
    ALL("all"),
    MANGA("manga");
    
    public static final Parcelable.Creator<PixivisionCategory> CREATOR = new C4249a();

    /* renamed from: a */
    public final String f19065a;

    /* compiled from: PixivisionCategory.kt */
    /* renamed from: jp.pxv.android.legacy.constant.PixivisionCategory$a */
    /* loaded from: classes2.dex */
    public static final class C4249a implements Parcelable.Creator<PixivisionCategory> {
        @Override // android.os.Parcelable.Creator
        public PixivisionCategory createFromParcel(Parcel parcel) {
            MutabilityOwnership.m3745m(parcel, "parcel");
            return PixivisionCategory.valueOf(parcel.readString());
        }

        @Override // android.os.Parcelable.Creator
        public PixivisionCategory[] newArray(int i) {
            return new PixivisionCategory[i];
        }
    }

    PixivisionCategory(String str) {
        this.f19065a = str;
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // java.lang.Enum, java.lang.Object
    public String toString() {
        return this.f19065a;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        MutabilityOwnership.m3745m(parcel, "out");
        parcel.writeString(name());
    }
}
